body{
  max-width: 540px;
  min-width: 320px;
  margin: 0 auto;
  font: normal 14px/1.5 Tahoma;
  color: #000;
  background: #f2f2f2;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
a{
  color: #222;
  text-decoration: none;
}
div{
  box-sizing: border-box;
}

/*搜索模块*/
.search-index{
  display: flex;
  position: fixed;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  /*固定的盒子应该有宽度*/
  width: 100%;
  height: 44px;
  max-width: 540px;
  min-width: 320px;
  /*background-color: #ccc;*/
  background-color: #f6f6f6;
  /*border-top: 1px solid #ccc;*/
  border-bottom: 1px solid #ccc;
}
.user{
  width: 44px;
  height: 44px;
  font-size: 12px;
  text-align: center;
  color: #2eaae0;
}
.search{
  position: relative;
  height: 26px;
  border: 1px solid #ccc;
  flex: 1;
  margin: 6px 10px;
  border-radius: 5px;
  line-height: 24px;
  color: #666;
  padding-left: 25px;
  font-size: 13px;
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.search::before{
  content: "";
  position: absolute;
  top: 4px;
  left: 5px;
  width: 15px;
  height: 15px;
  background: url("../images/user_pic.png" ) no-repeat 1px 1px;
  background-size: 20px auto;

}
.user:before{
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: url("../images/user_pic.png" ) no-repeat ;
  background-position: 1px -77px;
  background-size: 21px auto;
  margin: 3px auto -1px;
}

/*focus*/
.focus{
  padding-top: 44px;
}
.focus img{
  width: 100%;
}

/*local-nav*/
.local-nav{
  display: flex;
  height: 64px;
  background-color: #fff;
  margin: 2px 3px;
  border-radius: 8px;
}

.local-nav li{
  flex: 1;
}
.local-nav a{
  display: flex;
  flex-direction: column;
  /*侧轴居中对齐*/
  align-items: center;
  font-size: 12px;
}
.local-nav li [class^="local-nav-icon"] {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  /*margin-top: 8px;*/
  /*background-color: black;*/
  background: url("../images/local-nav-icon.png") no-repeat;
  background-size: 40px auto;
  display: block;
}
.local-nav li .local-nav-icon-icon2{
  background-position: 0 -38px;
}
.local-nav li .local-nav-icon-icon3{
  background-position: 0 -81px;
}
.local-nav li .local-nav-icon-icon4{
  background-position: 0 -119px;
}
.local-nav li .local-nav-icon-icon5{
  background-position: 0 -161px;
}

/*nav*/
nav{
  overflow: hidden;
  border-radius: 8px;
  margin:0 4px 3px;
}
.nav-common{
  display: flex;
  height: 88px;
}
.nav-common:nth-child(2){
  margin:  3px 0;
}
.nav-items{
  flex: 1;
  display: flex;
  flex-direction: column;
}
.nav-items a{
  flex: 1;
  text-align: center;
  line-height: 44px;
  color: #fff;
  font-size: 14px;
  text-shadow: 1px 1px rgba(0,0,0,.2);
}
.nav-items a:nth-child(1){
  border-bottom: 1px solid #fff;
}
.nav-items:nth-child(1) a{
  border: 0;
  background: url("../images/nav-items-hotel.png") no-repeat;
  /*background-size: 40px auto;*/
  /*width: 100%;*/
  background-position: right bottom;
}
.nav-common:nth-child(2) .nav-items:nth-child(1) a{
  border: 0;
  background: url("../images/nav-items-flight.png") no-repeat;
  background-position: right bottom;
}
.nav-common:nth-child(3) .nav-items:nth-child(1) a{
  border: 0;
  background: url("../images/nav-items-travel.png") no-repeat;
  background-position: right bottom;
}
/*-n+2  就是前两个*/
.nav-items:nth-child(-n+2){
  border-right: 1px solid #fff;
}

.nav-common:nth-child(1){
  background: -webkit-linear-gradient(left,#fa5a55,#fa994d);
}
.nav-common:nth-child(2){
  background: -webkit-linear-gradient(left,#4b90ed,#53bced);
}
.nav-common:nth-child(3){
  background: -webkit-linear-gradient(left,#34c2a9,#6cd559);
}

/*测导航栏*/
.subnav-entry{
  display: flex;
  border-radius: 8px;
  background-color: #fff;
  margin: 0 4px;
  flex-wrap: wrap;
  padding: 5px 0;
}
.subnav-entry li{
  flex: 20%;
}
.subnav-entry a{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.subnav-entry-icon{
  width: 28px;
  height: 28px;
  background: url("../images/subnav_ico.png") no-repeat 0 0;
  background-size: 28px auto;
}
li:nth-child(2) .subnav-entry-icon {
  background: url("../images/subnav_ico.png") no-repeat 0 -27px;
  background-size: 28px auto;
}
li:nth-child(3) .subnav-entry-icon {
  background: url("../images/subnav_ico.png") no-repeat 0 -56px;
  background-size: 28px auto;
}
li:nth-child(4) .subnav-entry-icon {
  background: url("../images/subnav_ico.png") no-repeat 0 -83px;
  background-size: 28px auto;
}
li:nth-child(5) .subnav-entry-icon {
  background: url("../images/subnav_ico.png") no-repeat 0 -112px;
  background-size: 28px auto;
}
li:nth-child(6) .subnav-entry-icon {
  background: url("../images/subnav_ico.png") no-repeat 0 -139px;
  background-size: 28px auto;
}
li:nth-child(7) .subnav-entry-icon {
  background: url("../images/subnav_ico.png") no-repeat 0 -166px;
  background-size: 28px auto;
}
li:nth-child(8) .subnav-entry-icon {
  background: url("../images/subnav_ico.png") no-repeat 0 -194px;
  background-size: 28px auto;
}
li:nth-child(9) .subnav-entry-icon {
  background: url("../images/subnav_ico.png") no-repeat 0 -223px;
  background-size: 28px auto;
}
li:nth-child(10) .subnav-entry-icon {
  background: url("../images/subnav_ico.png") no-repeat 0 -252px;
  background-size: 28px auto;
}

/*销售模块*/
.sales-box{
  border-top: 1px solid #ccc;
  background-color: #fff;
  margin: 4px;
}
.sales-hd{
  position: relative;
  height: 44px;
  border-bottom: 1px solid #ccc;
}
.sales-hd h2{
  position: relative;
  text-indent: -9999px;
  overflow: hidden;
}
.sales-hd h2::after{
  position: absolute;
  content: "";
  top: 8px;
  left: 20px;
  width: 79px;
  height: 15px;
  background: url("../images/sales-box-text.png") no-repeat 0 -20px;
  background-size: 79px auto;
}
.more{
  position: absolute;
  right: 5px;
  top: 0px;
  background: -webkit-linear-gradient(left,#ff506c,#ff6bc6);
  border-radius: 15px;
  padding: 3px 20px 3px 10px ;
  color: #fff;
}
.more::after{
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}
.sales-bd .row{
  display: flex;
}
.row a{
  flex: 1;
  border-bottom: 1px solid #eee;
}
.row a:nth-child(1){
  border-right: 1px solid #eee;
}
.row a img{
  width: 100%;
}






